Skip to content

Comments

made _handle_cancel more resiliant against changes to _tasks from oth…#346

Merged
edyounis merged 6 commits intomainfrom
runtime-cancel-fix
Aug 29, 2025
Merged

made _handle_cancel more resiliant against changes to _tasks from oth…#346
edyounis merged 6 commits intomainfrom
runtime-cancel-fix

Conversation

@WolfLink
Copy link
Collaborator

@WolfLink WolfLink commented Aug 7, 2025

Fixes occasional hangs resulting from issues with cancelling a task while another thread is completing that task.

@WolfLink
Copy link
Collaborator Author

WolfLink commented Aug 8, 2025

@edyounis

edyounis
edyounis previously approved these changes Aug 15, 2025
@edyounis
Copy link
Member

How has the change been holding up?

mihir-putcha and others added 4 commits August 28, 2025 13:29
- Add check for ResidualsFunction in both multistart methods to ensure the correct cost function is being used
- Ensures best parameters are selected based on actual cost values
@WolfLink
Copy link
Collaborator Author

@edyounis I've been finishing up my major cleanup of NTRO, and these changes seem necessary for it to run consistently. I've caught a couple other, rarer, race conditions.

@edyounis edyounis merged commit b9de50c into main Aug 29, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants